#include "DocStatsInterface.h"
#include "ParagraphVisitor.h"
#include "RasterBitmapVisitor.h"
#include "VectorGraphicsVisitor.h"
class DocElement;

class DocStats : public DocStatsInterface,
				 public ParagraphVisitor,
				 public RasterBitmapVisitor,
				 public VectorGraphicsVisitor
{
	unsigned int chars_, nonBlankChars, words_, images_, graphs_;
public:
	DocStats::DocStats();
	virtual void Visit(Paragraph&);
	virtual void Visit(RasterBitmap&);
	virtual void Visit(DocElement&);
	virtual void Visit(VectorGraphics&);
	virtual void Display();
};